/**
 * className：PublicConifg.java <br>
 * @version：1.0  <br>
 * date: 2014-11-5-上午10:15:20     <br>
 * Copyright (c)  2014中益智正公司-版权所有   <br>
 */
package com.hfzy.ihk.web.freeswitchCall.constant;


import com.hfzy.ihk.common.util.ResourceUtils;

import java.util.Map;


/**
 * className：PublicConifg <br>
 * Function： 环境配置基础类 <br>
 */
public class PublicConfig {

	public static Map<String, String> PUBLIC = ResourceUtils.getResource("public/public").getMap();




	/**
	 * 阿里云 处理队列线程数
	 */
	public static Integer ALIYUN_CALL_OUT_HANDLER_SIZE = Integer.valueOf(PUBLIC.get("aliyun.callOut.disruptor.handler.size"));
	public static Integer ALIYUN_CALL_STATE_HANDLER_SIZE = Integer.valueOf(PUBLIC.get("aliyun.callState.disruptor.handler.size"));
	public static Integer ALIYUN_RECORD_FILE_HANDLER_SIZE = Integer.valueOf(PUBLIC.get("aliyun.recordFile.disruptor.handler.size"));


	//阿里云-各任务队列长度
	public static Integer ALIYUN_CALL_OUT_BUFFER_SIZE = Integer.valueOf(PUBLIC.get("aliyun.callOut.disruptor.ringBuffer.size"));
	public static Integer ALIYUN_CALL_STATE_BUFFER_SIZE = Integer.valueOf(PUBLIC.get("aliyun.callState.disruptor.ringBuffer.size"));

	public static Integer ALIYUN_CALL_STATE_BUFFER_NUM_SIZE = Integer.valueOf(PUBLIC.get("aliyun.callState.disruptor.ringBuffer.num.size"));
	public static Integer ALIYUN_RECORD_FILE_BUFFER_SIZE = Integer.valueOf(PUBLIC.get("aliyun.recordFile.disruptor.ringBuffer.size"));


}
